package com.xuecheng.content.entity.ext;

import com.xuecheng.content.entity.Teachplan;
import com.xuecheng.content.entity.TeachplanMedia;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 课程计划树形结构扩展PO类
 */
@Data
public class TeachPlanNode extends Teachplan {

    /**
     * 子节点数据集合，课程计划为3级
     */
    List<TeachPlanNode> childrenNodes;

    // 添加课程计划媒资信息属性
    @ApiModelProperty(value = "媒资信息")
    TeachplanMedia teachplanMedia;
}
